﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElfTyping.States.StoryState
{
    public class ChangeStateAction : StoryAction
    {
        State NextState;

        public ChangeStateAction(StoryState storyState, State nextState)
            : base(storyState)
        {
            NextState = nextState;
        }

        public override void OnEnd()
        {
            StoryState.NextState = NextState;

            base.OnEnd();
        }
    }
}
